import request from '@/utils/request'

// 查询录音回忆录列表
export function listVoice_memoir(query) {
  return request({
    url: '/ora/voice_memoir/list',
    method: 'get',
    params: query
  })
}

// 查询录音回忆录详细
export function getVoice_memoir(id) {
  return request({
    url: '/ora/voice_memoir/' + id,
    method: 'get'
  })
}

// 新增录音回忆录
export function addVoice_memoir(data) {
  return request({
    url: '/ora/voice_memoir',
    method: 'post',
    data: data
  })
}

// 修改录音回忆录
export function updateVoice_memoir(data) {
  return request({
    url: '/ora/voice_memoir',
    method: 'put',
    data: data
  })
}

// 删除录音回忆录
export function delVoice_memoir(id) {
  return request({
    url: '/ora/voice_memoir/' + id,
    method: 'delete'
  })
}
